//
//  YXFrameVideoExport.h
//  MPTVideoKit
//
//  Created by Simon on 14-12-4.
//  Copyright (c) 2014年 Xuan Yi Xia CO.LTD. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVFoundation/AVFoundation.h>

typedef enum
{
    FrameVideoExportStatus_Succeeded,
    FrameVideoExportStatus_Processing,
    FrameVideoExportStatus_Failed,
    FrameVideoExportStatus_Cancelled,
}FrameVideoExportStatus;

typedef void (^frameVideo_exporting_block)(CGFloat progress, FrameVideoExportStatus status);

@interface YXFrameVideoExport : NSObject

-(void) buildFrameVideoWithAsset:(AVAsset*)urlAsset framePoint:(CGFloat)framePoint duration:(CGFloat)duration outputPath:(NSString*)outputPath processingBlock:(frameVideo_exporting_block)processingBlock;

@end
